package en.edu.zucc.pb.loginapplication.util;

import android.content.res.Resources;

public class ResUtil {
   public static int getResID(Resources resources, String resNameStr, String packageName) {
//        Resources resources=getResources();
//        String btnIdStr = "btn"+(i+1);
        int resID = resources.getIdentifier(resNameStr, "drawable", packageName);
        return resID;
    }
}
